﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using RCSoft.Core.Domain.Rooms;
using System.Data.Entity.ModelConfiguration;

namespace RCSoft.Data.Mapping.Room
{
    public partial class FloorMap:EntityTypeConfiguration<Floor>
    {
        public FloorMap()
        {
            this.ToTable("Floor");
            this.HasKey(f => f.Id);
            this.Property(f => f.Name).IsRequired().HasMaxLength(50);
        }
    }
}
